//
//  MKCDeviceAuthorizationManager.h
//  ELearningClient
//
//  Created by zh on 2019/5/13.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface EMDeviceAuthorizationManager : NSObject

+ (instancetype)shareManager;

/**
 弹出相册

 @param vc 当前界面
 */
+ (void)popupPhotoLibraryInVC:(UIViewController<UINavigationControllerDelegate, UIImagePickerControllerDelegate>*)vc;

/**
 弹出相机

 @param vc 当前界面
 */
+ (void)popupCameraInVC:(UIViewController *)vc delegate:(id<UINavigationControllerDelegate, UIImagePickerControllerDelegate>)delegate;


/**
 开始打开摄像头
 */
- (void)starCapture:(UIView *)superView;


/**
 关闭
 */
- (void)stopCapture;
@end

NS_ASSUME_NONNULL_END
